package fr.java_freelance.tryspock.domain;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "spockInfo")
@XmlAccessorType(XmlAccessType.FIELD)
public class SpockInfo {
  @XmlAttribute
  Integer day;

  public SpockInfo() {
    super();
  }

  public SpockInfo(String day) {
    super();
    this.day = Integer.valueOf(day);
  }

  public Integer getDay() {
    return day;
  }

  public void setDay(Integer day) {
    this.day = day;
  }

}
